package com;

import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/6/13 23:55
 * @since JDK 1.8
 */
@SpringCloudApplication
@EnableHystrix  //开启熔断
@EnableEurekaClient
public class HystixApplication {

    public static void main(String[] args) {
        SpringApplication.run(HystixApplication.class,args);
    }
}
